shortcutswindow: Stop using GtkArrow
authorTimm Bäder <mail@baedert.org>
Mon, 3 Oct 2016 08:52:40 +0000 (10:52 +0200)
committerBenjamin Otte <otte@redhat.com>
Sun, 16 Oct 2016 16:17:21 +0000 (18:17 +0200)
gtk/gtkshortcutswindow.c

index 36f55f6e86087b606a83ca11e4a3f059b1f1e36a..1e1bf8f6f268eeb4b6d6fc95c80ef4ca023a820e 100644 (file)
@@ -865,7 +865,7 @@ gtk_shortcuts_window_init (GtkShortcutsWindow *self)
   GtkToggleButton *search_button;
   GtkBox *menu_box;
   GtkBox *box;
-  GtkArrow *arrow;
+  GtkWidget *arrow;
   GtkWidget *scroller;
   GtkWidget *label;
   GtkWidget *empty;
@@ -956,10 +956,9 @@ gtk_shortcuts_window_init (GtkShortcutsWindow *self)
   gtk_container_add (GTK_CONTAINER (menu_box), GTK_WIDGET (priv->menu_label));
 
   G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
-  arrow = g_object_new (GTK_TYPE_ARROW,
-                        "arrow-type", GTK_ARROW_DOWN,
-                        "visible", TRUE,
-                        NULL);
+  arrow = gtk_image_new_from_icon_name ("pan-down-symbolic",
+                                        GTK_ICON_SIZE_BUTTON);
+  gtk_widget_show (arrow);
   gtk_container_add (GTK_CONTAINER (menu_box), GTK_WIDGET (arrow));
   G_GNUC_END_IGNORE_DEPRECATIONS;